package com.longai.vo;

import com.longai.model.Picture;
import com.longai.model.User;

public class PictureVo {
	private Integer pictureId;
	private Integer userId;
	private String picname;
	private Long picturePubtime;
	private String originallurl;
	private String permisson;
	private String nailurl;
	public PictureVo(){
		
	}
	public PictureVo(Picture picture){
		this.pictureId = picture.getPictureId();
		this.userId = picture.getUser().getUserId();
		this.picname = picture.getPicname();
		this.picturePubtime = picture.getPicturePubtime();
		this.originallurl = picture.getOriginallurl();
		this.permisson = picture.getPermisson();
		this.nailurl = picture.getNailurl();
	}
	
	public Integer getPictureId() {
		return pictureId;
	}
	public void setPictureId(Integer pictureId) {
		this.pictureId = pictureId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getPicname() {
		return picname;
	}
	public void setPicname(String picname) {
		this.picname = picname;
	}
	public Long getPicturePubtime() {
		return picturePubtime;
	}
	public void setPicturePubtime(Long picturePubtime) {
		this.picturePubtime = picturePubtime;
	}
	public String getOriginallurl() {
		return originallurl;
	}
	public void setOriginallurl(String originallurl) {
		this.originallurl = originallurl;
	}
	public String getPermisson() {
		return permisson;
	}
	public void setPermisson(String permisson) {
		this.permisson = permisson;
	}
	public String getNailurl() {
		return nailurl;
	}
	public void setNailurl(String nailurl) {
		this.nailurl = nailurl;
	}
	
}
